From: "Stefan Stuntz" 
Date: Mon, 22 Jul 1996 17:04:55 +0100
X-Mailer: IntuiNews 1.4 (28.6.96)
Subject: Re: Easiest way to display a bitmap
Message-Id: <81323563@magic.informatik.tu-muenchen.de>
Organization: Home of MUI
Resent-Message-ID: <"hVepU.0.AX3.Savyn"@susi>
Resent-From: mui@sunsite.Informatik.RWTH-Aachen.de
Reply-To: mui@sunsite.Informatik.RWTH-Aachen.de
X-Mailing-List:  archive/latest/1978
X-Loop: mui@sunsite.informatik.rwth-aachen.de
Precedence: list
Resent-Sender: mui-request@sunsite.Informatik.RWTH-Aachen.de
Content-Type: text
Content-Length: 894
X-Lines: 27
Status: RO


Navroz Sethna wrote in article :

> What is the easiest way to display a bitmap in an image object? Also I'm a
> bit confused about the purpose of the Bitmap class, can this class by used
> to insert a bitmap into an image object?

Forget about image class, use bitmap class to display a bitmap, e.g. like
this:

Child, BodychunkObject,
	MUIA_Background      , MUII_BACKGROUND,
	MUIA_FixWidth        , ABOUTLOGO_WIDTH,
	MUIA_FixHeight       , ABOUTLOGO_HEIGHT,
	MUIA_Bitmap_Width    , ABOUTLOGO_WIDTH,
	MUIA_Bitmap_Height   , ABOUTLOGO_HEIGHT,
	MUIA_Bitmap_UseFriend, TRUE,
	MUIA_Bodychunk_Depth , ABOUTLOGO_DEPTH,
	MUIA_Bodychunk_Body  , (UBYTE *)aboutlogo_body,
	MUIA_Bodychunk_Compression, ABOUTLOGO_COMPRESSION,
	MUIA_Bodychunk_Masking    , ABOUTLOGO_MASKING,
	MUIA_Bitmap_SourceColors  , (ULONG *)aboutlogo_colors,
	End;

--
Greetings, Stefan